/*
 * outp.h
 *
 * Created: 3/19/2013 4:37:56 PM
 *  Author: Ozan
 */ 


#ifndef OUTP_H_
#define OUTP_H_


#define sbi(var, mask)   ((var) |= (uint8_t)(1 << mask))  // This are nice functions to let you control 1 pin; Makes High
#define cbi(var, mask)   ((var) &= (uint8_t)~(1 << mask)) // This are nice functions to let you control 1 pin; Makes Low

using namespace std;

class OUTP
{
	int PIN;
	unsigned char PORT;
	public:
	OUTP(unsigned char,int);
	void on(void);
	void off(void);
};


#endif /* OUTP_H_ */